﻿@model Yyyg.WebUI.Models.UserRegVM
@{
    Layout = "~/Views/Shared/_LoginRegLayout.cshtml";
}
@section head{
    <link href="~/Content/loginpage.css" rel="stylesheet" />
    <script src="~/Scripts/jquery.validate.min.js"></script>
    <script src="~/Scripts/jquery.validate.unobtrusive.min.js"></script>
}
@using (Html.BeginForm("Reg", "UserReg", FormMethod.Post, new { id = "login-form", @class = "login-block" }))
{
    @Html.AntiForgeryToken()
    <h5>注册<small>@Html.ActionLink("前往登陆", "Login", "UserLogin")</small></h5>
    <div class="content">
        <div class="input-ls">
            <p>手机号:</p>
            <div>
                @Html.TextBoxFor(s => s.Mobel, new { id = "mobel", autocomplete = "off", placeholder = "请输入注册手机号" })
                <span class="input-user iconfont icon-mobile-phone"></span>
            </div>
            <div>
                @Html.ValidationMessageFor(s => s.Mobel, null, new { style = "color:red;font-size:0.8rem;" })
            </div>
        </div>
        <div class="input-ls">
            <p>密码:</p>
            <div>
                @Html.TextBoxFor(s => s.Pwd, new { id = "pwd", type = "password", autocomplete = "off", placeholder = "设置登陆密码" })
                <span class="input-user iconfont icon-lock"></span>
            </div>
            <div>
                @Html.ValidationMessageFor(s => s.Pwd, null, new { style = "color:red;font-size:0.8rem;" })
            </div>
        </div>
        <div class="input-ls">
            <p>确认密码:</p>
            <div>
                @Html.TextBoxFor(s => s.Confirm, new { id = "confirm", type = "password", autocomplete = "off", placeholder = "确认登陆密码" })
                <span class="input-user iconfont icon-lock"></span>
            </div>
            <div>
                @Html.ValidationMessageFor(s => s.Confirm, null, new { style = "color:red;font-size:0.8rem;" })
            </div>
        </div>
        <div class="input-btn">
            <button class="loginbtn btn-big ajax-post" type="submit" style="outline:none;" target-form="form-user">立即注册</button>
        </div>
    </div>
}
